/*
 * @Author: 卡卡 1071780426@qq.com
 * @Date: 2023-08-07 17:32:58
 * @LastEditors: 卡卡 1071780426@qq.com
 * @LastEditTime: 2023-08-21 15:49:11
 * @FilePath: \tensionmanage\src\utils\MessageBox.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import ElementUI from "element-ui"; //这里是引入 element
const utils = {

    // cancelButtonText: "取消",
    alertConfirmReminder(content, callback, btnText, type) {
        ElementUI.MessageBox.confirm(content,
                "提示", {
                    confirmButtonText: btnText || "确定",
                    type: type,
                    customClass: 'yjxa_message',
                    showCancelButton: false,
                }).then(() => {
                callback()
            })
            .catch(() => {});
    },
}
export default utils